<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html>
<head>
<title>New Theme Forms a Flat Responsive Widget Template :: w3layouts</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="New Theme Forms template Responsive, Login form web template,Flat Pricing tables,Flat Drop downs  Sign up Web Templates, Flat Web Templates, Login sign up Responsive web template, SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- Custom Theme files -->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- //Custom Theme files -->
<!-- web font -->    
<link href="//fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
<!-- //web font --> 
</head>
<body>
	<!-- main -->
	<div class="main">
		<h1>在线oj删除用户界面</h1>
		<div class="main-w3lsrow" style="display: flex; justify-content: center">
			<!-- login form -->
			<!-- sign up form -->
			<div class="login-form agileits-right" >
				<div class="agile-row" >
					<h3>SignUp Form</h3>
					<div class="login-agileits-top" >
						<form action="logout" method="post"> 
							<p>UserName</p>
						
							<input type="text" class="name" name="username"> 
							<input type="submit" value="Delete">
						</form> 	
					</div>  
				</div>  
			</div> 
			<div class="clear"> </div>	 
		</div>	
	</div>
	<script src="js/jquery.min.js"></script>
	<script>
		function getUser(){
                $.ajax({
                    url:"admin",
                    type:"GET",
                    success:function(data,status){
                        if(!data.isAdmin){
                            location.assign("index.html");
                        }
                    },
                    error:function(data,status){
                        location.assign("login.html");
                    }
                })
            }
            getUser();
	</script>
	<!--	<div class="copyright">-->
<!--		<p> © 2017 New Theme Forms. All rights reserved | Design by <a href="http://w3layouts.com/" target="_blank">W3layouts</a></p>-->
<!--	</div>-->
</body>
</html>